package com.ruoyi.thd.enums;

public enum EnumResult {
    SUCCESS(1, "成功"),
    FAILURE(0, "失败"),
    ;
    private int code;
    private String message;

    EnumResult(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
